<%- include header %>
<div class="container" style="margin-top: 30px">
  <p style="font-size: 20px"><%- post.post %></p><br/><br/>
  <p class="info">
    发布人：<a href="/u/<%= post.name %>"><%= post.name %></a> &#x3000;
    日期：<%= post.time.minute %>
  </p>
  <p class="info">阅读：<%= post.pv %> &#x3000; 评论：<%= post.comments.length %></p>
  <br/><br/>
  <p id="bianji">
    <% if(user && (user.name == post.name)){ %>
    <span>
    <a class="edit" href="/edit/<%= post.name %>/<%= post.time.minute %>/<%= post.title %>">编辑</a>
  </span>
  <span>
    <a style="color: red" class="edit" href="/remove/<%= post.name %>/<%= post.time.minute %>/<%= post.title %>">删除</a>
  </span>
    <% }%>
  </p>
  <%- include comment %>
</div>
<%- include footer %>